package com.iwhalecloud.citybrain.flow.platform.manager.application.service;

import com.iwhalecloud.citybrain.flow.platform.manager.domain.exception.EventCallSuspendException;
import org.flowable.task.service.impl.persistence.entity.TaskEntity;

/**
 * @author lilh
 * @date 2021/1/6 下午4:47
 */
public interface TaskCreatedPostProcessor {

    /**
     * 处理任务
     *
     * @param taskEntity 任务实体
     */
    void process(TaskEntity taskEntity) throws EventCallSuspendException;
}
